home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / Mesa-1.2.1 / widgets / Makefile < prev    next >
Encoding:
Makefile  |  1995-07-05  |  4.3 KB  |  134 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile.in --- Mesa GL Widget for X11 Toolkit Programming
  3. # Copyright (C) 1995 by
  4. #   Jeroen van der Zijp <jvz@cyberia.cfdrc.com>
  5. #   Thorsten Ohl <Thorsten.Ohl@Physik.TH-Darmstadt.de>
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. # GNU Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free Software
  19. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. #
  21. # $Id: Makefile.in,v 1.16 1995/05/19 20:32:00 ohl Exp $
  22. #
  23. ########################################################################
  24.  
  25. CFLAGS = -O2
  26. LDFLAGS =
  27.  
  28. ########################################################################
  29.  
  30. SHELL = /bin/sh
  31.  
  32. srcdir = .
  33. top_srcdir = .
  34.  
  35. SUBDIRS = src include/GL man demos
  36.  
  37. VISUAL_GL_DEMOS = demo.gl.pseudo.rgb demo.gl.true.rgb \
  38.           demo.gl.pseudo.ci demo.gl.true.ci 
  39.  
  40. VISUAL_MESA_DEMOS = demo.mesa.pseudo.rgb demo.mesa.true.rgb \
  41.             demo.mesa.pseudo.ci demo.mesa.true.ci
  42.  
  43. all install uninstall:
  44.     for d in $(SUBDIRS); do    (cd $$d && $(MAKE) $@); done
  45.  
  46. demo demo.gl demo.mesa demo.ws demo.ws1 demo.tea \
  47.   demo.gl.pseudo demo.gl.true \
  48.   demo.mesa.pseudo demo.mesa.true \
  49.   $(VISUAL_GL_DEMOS) $(VISUAL_MESA_DEMOS):
  50.     cd src && $(MAKE) all
  51.     cd demos && $(MAKE) $@
  52.  
  53. demo.all: demo.gl.all demo.mesa.all 
  54. demo.gl.all: $(VISUAL_GL_DEMOS)
  55. demo.mesa.all: $(VISUAL_MESA_DEMOS)
  56.  
  57. # Standard GNU clean* targets:
  58. maintainer-clean: clean
  59.     @echo "This command is intended for maintainers to use;"
  60.     @echo "it deletes files that may require special tools to rebuild."
  61.     for d in $(SUBDIRS); do    (cd $$d && $(MAKE) $@); done
  62.  
  63. mostlyclean: clean
  64.     for d in $(SUBDIRS); do    (cd $$d && $(MAKE) $@); done
  65.  
  66. distclean: clean
  67.     for d in $(SUBDIRS); do    (cd $$d && $(MAKE) $@); done
  68.     rm -f Makefile config.cache config.status
  69.  
  70. clean:
  71.     for d in $(SUBDIRS); do    (cd $$d && $(MAKE) $@); done
  72.     rm -f .*~ *~ config.log
  73.  
  74. realclean: clean
  75.  
  76. # GNU autoconf(1) targets:
  77. Makefile: Makefile.in config.status
  78.     $(SHELL) config.status
  79. config.status: configure
  80.     $(SHELL) config.status --recheck
  81. configure: configure.in
  82.     cd $(srcdir); autoconf
  83.  
  84. ########################################################################
  85. # Distributions
  86. ########################################################################
  87.  
  88. DISTFILES.top = README INSTALL /usr/local/etc/COPYING ChangeLog TODO \
  89.         Makefile.in configure configure.in config.guess config.sub \
  90.         install-sh
  91.  
  92. DISTFILES.src = ChangeLog Makefile.in \
  93.         GLwDrawingArea.c GLwMDrawingArea.c \
  94.         MesaDrawingArea.c MesaWorkstation.c \
  95.         GLwCreateMDrawingArea.c GLwDrawingAreaMakeCurrent.c \
  96.         GLwDrawingAreaSwapBuffers.c GLwMakeCurrent.c
  97.  
  98. DISTFILES.inc = ChangeLog Makefile.in \
  99.         GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h \
  100.         MesaDrawingArea.h MesaDrawingAreaP.h \
  101.         MesaWorkstation.h MesaWorkstationP.h
  102.  
  103. PODS = MesaDrawingArea.pod MesaWorkstation.pod \
  104.        GLwDrawingArea.pod GLwCreateMDrawingArea.pod \
  105.        GLwDrawingAreaSwapBuffers.pod GLwDrawingAreaMakeCurrent.pod
  106.  
  107. DISTFILES.man = ChangeLog Makefile.in \
  108.         $(PODS) $(PODS:.pod=.3x) $(PODS:.pod=.html)
  109.  
  110. DISTFILES.demos = ChangeLog Makefile.in cube.c mcube.c ed.c tea.c \
  111.           Cube Mcube Ed events Tea
  112.  
  113. # snapshots:
  114. snap:
  115.     rm -fr widgets-current
  116.     mkdir widgets-current
  117.     cp $(DISTFILES.top) widgets-current
  118.     mkdir widgets-current/src
  119.     cd src && cp $(DISTFILES.src) ../widgets-current/src
  120.     mkdir widgets-current/include
  121.     mkdir widgets-current/include/GL
  122.     cd include/GL && cp $(DISTFILES.inc) ../../widgets-current/include/GL
  123.     mkdir widgets-current/man
  124.     cd man && $(MAKE) && cp $(DISTFILES.man) ../widgets-current/man
  125.     mkdir widgets-current/demos
  126.     cd demos && cp $(DISTFILES.demos) ../widgets-current/demos
  127.     tar cf - widgets-current | gzip > widgets-current.tar.gz
  128.     rm -fr widgets-current
  129.  
  130. test.snap: snap
  131.     rm -fr widgets-current
  132.     zcat widgets-current.tar.gz | tar xf -
  133.     cd widgets-current && ./configure && $(MAKE) all
  134.